Midrash for Bava Batra 31:12
(איוב י, ז) על דעתך כי לא ארשע ואין מידך מציל אמר רבא בקש איוב לפטור את כל העולם כולו מן הדין אמר לפניו רבונו של עולם בראת שור פרסותיו סדוקות בראת חמור פרסותיו קלוטות בראת גן עדן בראת גיהנם בראת צדיקים בראת רשעים מי מעכב על ידך
His companions answered him: Yea, thou doest away with fear' and restrainest devotion before God.<span class="x" onmousemove="('comment',' Ibid. XV, 4. ');"><sup>20</sup></span> If God created the evil inclination, He also created the Torah as its antidote.<span class="x" onmousemove="('comment',' Lit., 'spices'. ');"><sup>21</sup></span>
Otzar Midrashim
ז He said to him, "Why is it is that on a person's body every follicle has two hairs, but on their head every follicle has one hair?" He said to him, "The Holy Blessed One created on the head every follicle with one hair, but if They had created two in every follicle, both their eyes would be darkened." (Bava Batra 16a) And so too, for the world- if there were two raindrops in each 'follicle' the world would be destroyed and it would be more than the Flood. And in a place where the Holy Blessed One has created an affliction, They have created parallel to it its cure." He said to him, "How fortunate you are, my son, that the Holy Blessed One has revealed so much to you."
Ask RabbiBookmarkShareCopy